This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 18, 2012, 11:52 AM
31 Posts
topic has been resolvedResolved

Merge values to one field

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags:
  • Replies: 2
I have two Edit Box and want to merge the values ​​and save in a field that is in the form. The field is of course a multi-value
As of this formula, but via a button in XPage
@ If (Status = 'Drafts'; Author, Author: Sender)
 
Regards
Fredrik
Jan 18, 2012, 7:51 PM
170 Posts
Re: Merge values to one field
var F1=getComponent("field1")
var F2=getComponent("field2") 
var Arr=[F1,F2]
currentDocument.replaceItemValue("field3",Arr) 
 
Hope that the eample above helps you.  
I'm creating a javascript array and setting field3 with this array
 
/Fredrik 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal